var exec = require('cordova/exec');

function gpsClassFun() {

}
gpsClassFun.prototype={
    getLocation: function(success,error,param) {
        cordova.exec(success, error, "GPS", "getLocation", [param]);
    },
    stopLocation:function(success, error){
        cordova.exec(success, error, "GPS", "stopLocation", []);
    }
};
var gps = new gpsClassFun();
module.exports = gps;

